/* reset */
* {
    margin: 0;
    padding: 0;
}

body {
    font-size: 14px;
    font-family: 'Microsoft YaHei', Arial, Verdana, Sans-Serif;
    color: #fff;
    background: url(images/bg.jpg);
    line-height: 1.5;
    text-align: center;
    max-width: 320px;
    max-height: 350px;
}
#loading{
    width: 100%;
    height: 100%;
    text-align: center;
}
#loading .button{
    margin-top: 100px;
    width: auto;
}
#logIn {
    margin-top: 100px;
    text-align: center;
    color: #000000;
    width: 100%;
    display: none;
}
#main {
    display: none;
}
li{
    list-style: none;
}
/* reset end */
/* cubes */
.container {
    width: 100px;
    float: left;
    margin: 20px -15px 0 0;
    -webkit-perspective: 200;
    -webkit-perspective-origin: 50% 25px;
}

.cube {
    color: red;
    position: relative;
    text-align: center;
    line-height: 50px;
    margin: 0 auto;
    height: 50px;
    width: 50px;
    font-size: 25px;
    font-weight: bolder;
    -webkit-transition: -webkit-transform .5s linear;
    -webkit-transform-style: preserve-3d;
}

.face {
    position: absolute;
    border: 1px solid rgba(200,200,200,0.95);
    height: 48px;
    width: 48px;
    background-color: rgba(250, 250, 250, 0.95);
}

.cube #face1{
  -webkit-transform: rotateX(90deg) translateZ(25px);
}

.cube #face2{
  -webkit-transform: translateZ(25px);
}

.cube #face3{
  -webkit-transform: rotateY(90deg) translateZ(25px);
}

.cube #face4{
    -webkit-transform: rotateY(-90deg) translateZ(25px);
}

.cube #face5{
    -webkit-transform: rotateY(180deg) translateZ(25px);
}

.cube #face6{
  -webkit-transform: rotateX(-90deg) translateZ(25px) rotate(180deg);
}
/* cubes end */

/* button animations */
@-webkit-keyframes redPulse {
    from { background-color: #bc330d; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #e33100; -webkit-box-shadow: 0 0 18px #e33100; }
    to { background-color: #bc330d; -webkit-box-shadow: 0 0 9px #333; }
}
@-webkit-keyframes bluePulse {
    from { background-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #2daebf; -webkit-box-shadow: 0 0 18px #2daebf; }
    to { background-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
}
@-webkit-keyframes greenPulse {
    from { background-color: #749a02; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #91bd09; -webkit-box-shadow: 0 0 18px #91bd09; }
    to { background-color: #749a02; -webkit-box-shadow: 0 0 9px #333; }
}
@-webkit-keyframes orangePulse {
    from { background-color: #d45500; -webkit-box-shadow: 0 0 9px #333; }
    50% { background-color: #ff5c00; -webkit-box-shadow: 0 0 18px #ff5c00; }
    to { background-color: #d45500; -webkit-box-shadow: 0 0 9px #333; }
}


.button{
    display: inline-block;
    background: #222;
    padding: 5px 15px 6px;
    color: #fff !important;
    font-size: 20px;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
    -webkit-box-shadow: 0 5px 9px #333;
    text-shadow: 2px 2px 2px rgba(255,255,255,0.8);
    position: relative;
    cursor: pointer;
    overflow: visible;
    -webkit-animation-iteration-count: infinite;
}
.button:active {
    -webkit-transform: translateY(1px);
    -moz-transform: translateY(1px);
    -webkit-box-shadow: 0 3px 9px #333;
}

.button.blue{
    background:-webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    from(#87ceeb),
    color-stop(0.5, #3279eb),
    to(#87ceeb)
    );
}
.button.red{
    background:-webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    from(#ff0000),
    color-stop(0.5, #aa3333),
    to(#ff0000)
    );

}
.button.green{
    background:-webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    from(#aaffaa),
    color-stop(0.5, #339933),
    to(#aaffaa)
    );
}
.button.orange{
    background:-webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    from(#ffd700),
    color-stop(0.5, #996f00),
    to(#ffd700)
    );
}

.button.white{
    background:-webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    from(#f5f5f5),
    color-stop(0.5, #999999),
    to(#f5f5f5)
    );
}

.button.unselected{
    background-color: #dcdcdc;
    -webkit-animation-name:none;
}

.button{
    text-align: center;
    margin-top: 10px;
    width:50px;
    height:30px;
    margin-right: 5px;
}
#money .button{
    width: 95px;
    color: #000 !important;
}


/* button animations end */

a {
    outline: 0;
    color: #fff;
    text-decoration: none;
}

#main {
    text-align: left;
    width: 100%;
}
#left{
    float: left;
    width: 270px;
}
#cubeArea{
    margin-top: 10px;
    width:100%;
    clear: both;
}
#buttonArea{
    display: block;
    padding:20px 0 0 5px;
    clear: both;
    width: 100%;
}
.buttonColumn{
    width:100%;
    float: left;
}

#right{
    width:50px;
    float: left;
    height:310px;
    overflow-y: auto;
    background: #ffffff;
}
#right .button{
    width: 15px;
    height:20px;
    float: right;
    font-size: 15px;
}
@-webkit-keyframes orangeBorderPulse {
    from { border-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
    50% { border-color: #2daebf; -webkit-box-shadow: 0 0 18px #2daebf; }
    to { border-color: #007d9a; -webkit-box-shadow: 0 0 9px #333; }
}
#userInfo{
    width: 100%;
    background: blue;
    height:50px;
}
#userInfo p{
    line-height: 50px;
    font-size: 25px;
    text-align: center;
}
#userInfo #userName{
    margin-right: 30px;
}

#userList{
    width: 100%;
    height:70px;
}
#userList .userBet{
    width: 200px;
    margin:30px 20px 10px 5px;
    text-align: center;
    display: inline-block;
    padding: 5px 15px 6px;
    color: #fff !important;
    font-size: 25px;
    font-weight: bold;
    line-height: 1.5;
    text-decoration: none;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.25);
    text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
    border-bottom: 1px solid rgba(0,0,0,0.25);
    overflow: visible;
}
.userBet.red{
    background:-webkit-gradient(
    linear,
    50% 0%,
    50% 100%,
    from(#ff0000),
    color-stop(0.5, #990000),
    to(#ff0000)
    );
}

#logIn .button{
    height: 20px;
    font-size: 15px;
}
#logIn input{
    height: 40px;
}

#buttonArea #bet .selected{
    width: 230px;
}